package ${basePackage}.pojo.dto.${module}.${currModule};

import com.unswift.annotation.api.ApiEntity;
import com.unswift.annotation.api.ApiField;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

import ${basePackage}.pojo.dto.${extend};
<#if importList??>
	<#list importList as item>
import ${item}
	</#list>
</#if>
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@SuppressWarnings("serial")
@JsonInclude(Include.NON_NULL)
@ApiEntity(value="${tableComment!''}", author="${username}", date="${date}", version="1.0.0")
public class ${entityName} extends ${extend}{
	
	<#if fieldList??>
		<#list fieldList as field>
			<#if field.primaryKey>
				<#if field.jsonFormat??>
	@ApiField("${field.columnComment!''}")
	${field.jsonFormat}
	private ${field.fieldType} ${field.fieldSampleName};
	
				<#else>
	@ApiField("${field.columnComment!''}")
	private ${field.fieldType} ${field.fieldSampleName};
	
				</#if>
			</#if>
		</#list>
	</#if>
}
